import requests
import threading

def get_request():
    count = 0
    while count <= 1000:
        response = requests.get("http://127.0.0.1:8080/test")
        print(response.status_code)
        count += 1

count = 0
while count <= 100:
    threading.Thread(target=get_request).start()
    count += 1
    print(f"执行完成{count}")